package com.zhiche.lisa.lspm.dao.model.driver;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 司机报班明细
 * </p>
 *
 * @author qichao
 * @since 2018-08-27
 */
@TableName("lisa_driver_checkin_line")
public class DriverCheckinLine extends Model<DriverCheckinLine> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 报班ID
     */
	@TableField("checkin_id")
	private Long checkinId;
    /**
	 * 始发省编码
	 */
	@TableField("depart_province_code")
	private String departProvinceCode;
	/**
	 * 始发省
	 */
	@TableField("depart_province")
	private String departProvince;
	/**
	 * 始发市编码
	 */
	@TableField("depart_city_code")
	private String departCityCode;
	/**
	 * 始发市
	 */
	@TableField("depart_city")
	private String departCity;
    /**
     * 始发地详细地址
     */
	@TableField("depart_address")
	private String departAddress;
	@TableField("dest_province_code")
	private String destProvinceCode;
	/**
	 * 目的省
	 */
	@TableField("dest_province")
	private String destProvince;
	/**
	 * 目的市编码
	 */
	@TableField("dest_city_code")
	private String destCityCode;
	/**
	 * 目的市
	 */
	@TableField("dest_city")
	private String destCity;
    /**
     * 目的地详细地址
     */
	@TableField("dest_address")
	private String destAddress;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
	/**
	 * 创建人
	 */
	private String creator;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCheckinId() {
		return checkinId;
	}

	public void setCheckinId(Long checkinId) {
		this.checkinId = checkinId;
	}

	public String getDepartProvinceCode() {
		return departProvinceCode;
	}

	public void setDepartProvinceCode(String departProvinceCode) {
		this.departProvinceCode = departProvinceCode;
	}

	public String getDepartProvince() {
		return departProvince;
	}

	public void setDepartProvince(String departProvince) {
		this.departProvince = departProvince;
	}

	public String getDepartCityCode() {
		return departCityCode;
	}

	public void setDepartCityCode(String departCityCode) {
		this.departCityCode = departCityCode;
	}

	public String getDepartCity() {
		return departCity;
	}

	public void setDepartCity(String departCity) {
		this.departCity = departCity;
	}

	public String getDepartAddress() {
		return departAddress;
	}

	public void setDepartAddress(String departAddress) {
		this.departAddress = departAddress;
	}

	public String getDestProvinceCode() {
		return destProvinceCode;
	}

	public void setDestProvinceCode(String destProvinceCode) {
		this.destProvinceCode = destProvinceCode;
	}

	public String getDestProvince() {
		return destProvince;
	}

	public void setDestProvince(String destProvince) {
		this.destProvince = destProvince;
	}

	public String getDestCityCode() {
		return destCityCode;
	}

	public void setDestCityCode(String destCityCode) {
		this.destCityCode = destCityCode;
	}

	public String getDestCity() {
		return destCity;
	}

	public void setDestCity(String destCity) {
		this.destCity = destCity;
	}

	public String getDestAddress() {
		return destAddress;
	}

	public void setDestAddress(String destAddress) {
		this.destAddress = destAddress;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "DriverCheckinLine{" +
			", id=" + id +
			", checkinId=" + checkinId +
				", departProvinceCode=" + departProvinceCode +
			", departProvince=" + departProvince +
				", departCityCode=" + departCityCode +
			", departCity=" + departCity +
			", departAddress=" + departAddress +
				", destProvinceCode=" + destProvinceCode +
			", destProvince=" + destProvince +
				", destCityCode=" + destCityCode +
			", destCity=" + destCity +
			", destAddress=" + destAddress +
			", gmtCreate=" + gmtCreate +
				", creator=" + creator +
			"}";
	}
}
